package org.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.example.entity.Organization;

import java.util.List;

/**
 * @author 魏锴
 * @description 针对表【tb_assert_org】的数据库操作Mapper
 * @createDate 2024-01-08 22:50:26
 * @Entity org.example.entity.Organization
 */
public interface OrganizationMapper extends BaseMapper<Organization> {
    List<Organization> getOrganizationList(@Param("father") String father_name, @Param("org") String org_name);

    boolean insertOrganization(Organization org);

    boolean updateOrganization(Organization org);

    boolean deleteOrganization(int id);

    Organization getOrganizationById(int id);
}




